Categorical data
Features having a specific set of possible values. For example, consider a categorical feature named traffic-light-state
, which can only have one of the following three possible values:
red
yellow
green
By representing traffic-light-state
as a categorical feature, a model can learn the differing impacts of red
, green
, and yellow
on driver behavior.